import Home from "../views/Home";
import Info from '../views/Info'
// 缓存组件
import KeepAlive from 'react-activation';
let element = [
    {
      path:'/',
      // 必须加id
      element:<KeepAlive id="home"><Home/></KeepAlive>
    },{
        path:"/info",
        element:<Info/>
    }
]

export default element;